from typing import TypedDict


class ConfigurationItem(TypedDict):
    key: str
    default: str
    description: str
    active: None | str




def get_item_from_ArrayCI(key: str, source: list) -> ConfigurationItem | None:
    """get item from Array ConfigurationItem via key"""
    for item in source:
        if item["key"] == key:
            return item

    return None
